package com.group3.dao;

import java.util.List;

import com.group3.domain.PunchRecord;
import com.group3.domain.PunchRecordExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface PunchRecordMapper {
    long countByExample(PunchRecordExample example);

    int deleteByExample(PunchRecordExample example);

    int deleteByPrimaryKey(Integer punchId);

    int insert(PunchRecord record);

    int insertSelective(PunchRecord record);

    List<PunchRecord> selectByExample(PunchRecordExample example);

    PunchRecord selectByPrimaryKey(Integer punchId);

    int updateByExampleSelective(@Param("record") PunchRecord record, @Param("example") PunchRecordExample example);

    int updateByExample(@Param("record") PunchRecord record, @Param("example") PunchRecordExample example);

    int updateByPrimaryKeySelective(PunchRecord record);

    int updateByPrimaryKey(PunchRecord record);
}